package org.jeecg.modules.demo.soOrderDetail.vo;

import java.util.List;
import lombok.Data;
import org.jeecg.modules.demo.soQualityOrder.entity.SoQualityOrder;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: so_order_detail
 * @Author: jeecg-boot
 * @Date:   2021-12-10
 * @Version: V1.0
 */
@Data
@ApiModel(value="so_order_detailPage对象", description="so_order_detail")
public class SoOrderDetailPage {

	/**入库单号*/
	@Excel(name = "入库单号", width = 15)
	@ApiModelProperty(value = "入库单号")
    private String rkNo;
	/**仓库编码*/
	@Excel(name = "仓库编码", width = 15)
	@ApiModelProperty(value = "仓库编码")
    private String whNum;
	/**产品批号*/
	@Excel(name = "产品批号", width = 15)
	@ApiModelProperty(value = "产品批号")
    private String prdLot;
	/**仓库编码(采购)*/
	@Excel(name = "仓库编码(采购)", width = 15)
	@ApiModelProperty(value = "仓库编码(采购)")
    private String puWhNum;
	/**订单状态（0：未审，1：已审，2：已关闭）*/
	@Excel(name = "订单状态（0：未审，1：已审，2：已关闭）", width = 15)
	@ApiModelProperty(value = "订单状态（0：未审，1：已审，2：已关闭）")
    private Integer sodStatus;
	/**是否已生成质检单（0：否，1：是）*/
	@Excel(name = "是否已生成质检单（0：否，1：是）", width = 15)
	@ApiModelProperty(value = "是否已生成质检单（0：否，1：是）")
    private Integer isQuality;
	/**删除状态（0：未删，1：已删）*/
	@Excel(name = "删除状态（0：未删，1：已删）", width = 15)
	@ApiModelProperty(value = "删除状态（0：未删，1：已删）")
    private Integer isDelete;
	/**产品名称*/
	@Excel(name = "产品名称", width = 15)
	@ApiModelProperty(value = "产品名称")
    private String prdNo;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
	@ApiModelProperty(value = "规格型号")
    private String ggxh;
	/**计量单位*/
	@Excel(name = "计量单位", width = 15)
	@ApiModelProperty(value = "计量单位")
    private String jldw;
	/**单价*/
	@Excel(name = "单价", width = 15)
	@ApiModelProperty(value = "单价")
    private Integer price;
	/**业务类型*/
	@Excel(name = "业务类型", width = 15)
	@ApiModelProperty(value = "业务类型")
    private String ywType;
	/**金额*/
	@Excel(name = "金额", width = 15)
	@ApiModelProperty(value = "金额")
    private Integer jine;
	/**现存量*/
	@Excel(name = "现存量", width = 15)
	@ApiModelProperty(value = "现存量")
    private Integer xclNum;
	/**id*/
	@ApiModelProperty(value = "id")
    private String id;
	/**出库单号*/
	@Excel(name = "出库单号", width = 15)
	@ApiModelProperty(value = "出库单号")
    private String sodNo;
	/**销售结算单号*/
	@Excel(name = "销售结算单号", width = 15)
	@ApiModelProperty(value = "销售结算单号")
    private String sosCeptNo;
	/**合同编号*/
	@Excel(name = "合同编号", width = 15)
	@ApiModelProperty(value = "合同编号")
    private String soConNo;
	/**销售订单号*/
	@Excel(name = "销售订单号", width = 15)
	@ApiModelProperty(value = "销售订单号")
    private String soOrder;
	/**出库数量*/
	@Excel(name = "出库数量", width = 15)
	@ApiModelProperty(value = "出库数量")
    private Integer sodQuantity;
	/**销售结算状态*/
	@Excel(name = "销售结算状态", width = 15)
	@ApiModelProperty(value = "销售结算状态")
    private Integer sodSetStatus;
	/**制单日期*/
	@Excel(name = "制单日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "制单日期")
    private Date sodDate;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "创建时间")
    private Date createTime;
	
	@ExcelCollection(name="so_quality_order")
	@ApiModelProperty(value = "so_quality_order")
	private List<SoQualityOrder> soQualityOrderList;
	
}
